home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / RELIGION / CSB.LZH / INSTALL.BAT next >
DOS Batch File  |  1992-01-20  |  3KB  |  85 lines

  1. echo off
  2. cls
  3. if "%1" == ""   goto err1
  4. if "%2" == ""   goto err1
  5. if "%1" == "%2" goto err1
  6. if "%2" == "A:" goto floppy
  7. if "%2" == "B:" goto floppy
  8. if "%2" == "a:" goto floppy
  9. if "%2" == "b:" goto floppy
  10. %2
  11. cd \
  12. md \CSB
  13. cd CSB
  14. %1
  15. cd \CSB
  16. CSB %2\CSB
  17. cd \
  18. prompt=$p$g
  19. %2
  20. prompt=$p$g
  21. cls
  22. echo You are now in the %2\CSB subdirectory.
  23. echo Enter this command to start the program: MENU
  24. echo .
  25. echo .
  26. echo To view the manual enter: MANUAL
  27. echo .
  28. echo .
  29. echo To print CSB.DOC you must put the printer in 17cpi mode.
  30. echo (This will allow sample reports to print without wrapping)
  31. echo Enter....."TYPE CSB.DOC > PRN"        (Without the quotes)
  32. goto end
  33.  
  34. :floppy
  35. cd \CSB
  36. cls
  37. CSB_PRG %2\
  38. CLS
  39. echo Remove the disk in drive %2 and label it STARTUP DISK.
  40. echo Then insert another formatted floppy disk drive %2.
  41. Pause
  42. CSB_DOC %2\
  43. CD \
  44. %2
  45. cls
  46. echo Installation Complete.
  47. echo .
  48. echo To print CSB.DOC you must put the printer in 17cpi mode.
  49. echo (This will allow sample reports to print without wrapping)
  50. echo Enter....."TYPE CSB.DOC > PRN"        (Without the quotes)
  51. echo Remove the disk in drive %2 and label it CSB MANUAL
  52. echo .
  53. echo .
  54. echo Before starting the program, have a blank formatted DATA disk
  55. echo available.  Upon arriving at the main menu, you need to select
  56. echo the UTILITY option called: USE DATA ON DRIVE A: or B:
  57. echo .
  58. echo .
  59. echo To start the program, insert the STARTUP disk in drive A or B
  60. echo and enter:  MENU
  61. goto end
  62.  
  63. :err1
  64. cls
  65. echo You entered the wrong command to install CSB
  66. echo        ╔══════════════════════════════════════════════════════════╗
  67. echo        ║ To Install, log on to the drive containing               ║
  68. echo        ║ the Program diskette and type:  INSTALL from: to:        ║
  69. echo        ║                                                          ║
  70. echo        ║      "from:" is the floppy drive letter of the           ║
  71. echo        ║              Church Shareware Budget Disk                ║
  72. echo        ║      "to:"   is the drive letter where CSB will be       ║
  73. echo        ║              installed.                                  ║
  74. echo        ║                                                          ║
  75. echo        ║ Copyright 1991 By Cedric Fairweather                     ║
  76. echo        ║                                                          ║
  77. echo        ║ For example, INSTALL A: C:                               ║
  78. echo        ╚══════════════════════════════════════════════════════════╝
  79. echo 
  80.  
  81. goto end
  82.  
  83. :end
  84. echo on
  85.